home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINWORDS / EQNEDPAT.ZIP / EQNEDPAT.TXT
Text File  |  1993-04-05  |  2KB  |  52 lines

  1. short description:
  2. "a patch which remedies WinWord's formula spacing problem"
  3.  
  4. long description:
  5. Problems with equation editor for "Word for Windows" ?
  6.  
  7. How to avoid the space which is inserted automatically by Word
  8. for Windows before equation editor formulas.
  9. You have to make a small change to your file WINWORD.EXE, so
  10. please make a backup copy of first.
  11. Use a disk editor / Hex editor and look for the sequences shown
  12. below. Foreign language versions of Word may have different strings,
  13. but the string sequence "...MSDraw MSGraph Equation MathType..."
  14. should be there as well.
  15.  
  16. File=WINWORD.EXE    (German version 2.0)
  17. Relative sector 0001496
  18.  
  19. +++ ORIGINAL FILE +++
  20.  ----------------- Hex codes--------------------   --ASCII value---
  21.  53 44 72 61 77 07 4D 53 47 72 61 70 68 08 45 71   SDraw MSGraph Eq
  22.                                                                  ^^
  23.  75 61 74 69 6F 6E 08 4D 61 74 68 54 79 70 65 0B   uation MathType 
  24.                                                    ^^^^^^
  25.  57 6F 72 64 4F 62 6A 65 63 74 20 05 67 72 61 70   WordObject  grap
  26.  68 07 45 71 6E 44 69 6D 73 0C 50 49 43 45 44 49   h EqnDims PICEDI
  27.  54 43 4C 41 53 53 00 00 00 00 10 20 56 65 72 6B   TCLASS      Verk
  28.  6E FC 26 70 66 75 6E 67 2E 2E 2E 0B 20 4F 26 62   n &pfung...  O&b
  29.  6A 65 6B 74 2E 2E 2E 0B 20 4F 26 62 6A 65 6B 74   jekt...  O&bjekt
  30.  
  31. Shange "Equation" to something else e.g. "Equatiox":
  32. +++ CHANGED FILE +++
  33.  53 44 72 61 77 07 4D 53 47 72 61 70 68 08 45 71   SDraw MSGraph Eq
  34.                                                                  ^^
  35.  75 61 74 69 6F 78 08 4D 61 74 68 54 79 70 65 0B   uatiox MathType 
  36.                                                    ^^^^^^
  37.  57 6F 72 64 4F 62 6A 65 63 74 20 05 67 72 61 70   WordObject  grap
  38.  68 07 45 71 6E 44 69 6D 73 0C 50 49 43 45 44 49   h EqnDims PICEDI
  39.  54 43 4C 41 53 53 00 00 00 00 10 20 56 65 72 6B   TCLASS      Verk
  40.  6E FC 26 70 66 75 6E 67 2E 2E 2E 0B 20 4F 26 62   nn&pfung...  O&b
  41.  6A 65 6B 74 2E 2E 2E 0B 20 4F 26 62 6A 65 6B 74   jekt...  O&bjekt
  42.  
  43. Save the changed file.
  44. Now try to insert a new equation object.
  45. Voila !  No more alignment adjustmants necessary !
  46.  
  47. Portions of this code (c) by Microsoft
  48.  
  49. Martin.
  50.  
  51. comments to:  martin@mecha2.verfahrenstechnik.uni-stuttgart.de
  52.